package com.springcloud.demo;

import org.springframework.context.annotation.Bean;

/**
 * @ClassName UserConfiguration
 * @Description
 * @Author 戴书博
 * @Date 2020/5/24 8:44
 * @Version 1.0
 **/
public class UserConfiguration {

    @Bean
    public User getUser() {
        return new User("张三",18);
    }
}
